<!-- Modal -->
<div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="myModal" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
                <h4 class="modal-title">Form Tittle</h4>
            </div>
            <div class="modal-body">

                <form class="form-horizontal" method="post" action="<?php echo base_url('purchase/create_order');?>" role="form">
                    <div class="form-group">
                        <label for="inputEmail1" class="col-lg-2 col-sm-2 control-label">采购人</label>
                        <div class="col-lg-10">
                            <select name="admin_id" class="form-control m-bot15">
                                <?php foreach ($param_option['admin_id']['option'] as $k => $val) :?>
                                <option value="<?php echo $k;?>"><?php echo $val;?></option>
                                <?php endforeach;?>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">供应商</label>
                        <div class="col-lg-10">
                            <select name="supp_id[]" multiple="" class="form-control">
                                <?php foreach ($supp_list as $k => $val) :?>
                                <option value="<?php echo $k;?>"><?php echo $val;?></option>
                                <?php endforeach;?>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword1" class="col-lg-2 col-sm-2 control-label">备注信息</label>
                        <div class="col-lg-10">
                            <textarea name="po_info" rows="3" class="form-control"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-lg-offset-2 col-lg-10">
                            <button type="submit" class="btn btn-primary">生成采购批次</button>
                        </div>
                    </div>
                </form>

            </div>

        </div>
    </div>
</div>
<!-- modal -->